package com.smartpro.mis.modular.business.neo4jEntity;

import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

@RelationshipEntity(type = RelationshipEnum.CLICK_LINK)
public class ClickLinkRelationship {
    @GraphId
    private Long id;



    public ClickLinkRelationship(String createTime, N4jUser n4jUser, N4jProduct n4jProduct ) {
        this.createTime = createTime;
        this.n4jProduct = n4jProduct;
        this.n4jUser = n4jUser;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }


    public N4jUser getN4jUser() {
        return n4jUser;
    }

    public void setN4jUser(N4jUser n4jUser) {
        this.n4jUser = n4jUser;
    }

    private String createTime;

    @StartNode
    private N4jUser n4jUser;
    @EndNode
    private N4jProduct n4jProduct;

    public N4jProduct getN4jProduct() {
        return n4jProduct;
    }

    public void setN4jProduct(N4jProduct n4jProduct) {
        this.n4jProduct = n4jProduct;
    }


}
